package com.qf.pojo;


import com.alibaba.fastjson.JSON;

public class Emp {

  private long id;
  private String name;
  private double salary;
  private long age;

  @Override
  public String toString() {
    return "Emp{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", salary=" + salary +
            ", age=" + age +
            '}';
  }

  public Emp(long id, String name, double salary, long age) {
    this.id = id;
    this.name = name;
    this.salary = salary;
    this.age = age;
  }

  public Emp() {
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public double getSalary() {
    return salary;
  }

  public void setSalary(double salary) {
    this.salary = salary;
  }


  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }


//  JSON.p
}
